Gets and sets the item at the specified index from within the collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Default Property Item( _
ByVal index As Integer _
) As T |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RasterCollection(Of T)
Dim index As Integer
Dim value As T
instance.Item(index) = value
value = instance.Item(index) |
C# | |
---|
public virtual T this(
int index
) {get; set;} |
Parameters
- index
- The zero-based index of the element to get or set.
Property Value
The item at the specified index.
Example
Requirements
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7
See Also